#include "VxIrrLib/VxIrrLib.h"

//=== hit points message etc ===//
TimedMessage::TimedMessage()
: m_iShowTimeSeconds(0)
, m_poTextNode(0)
{
}

TimedMessage::TimedMessage(const TimedMessage& other)
{
	*this = other;
}

TimedMessage::~TimedMessage()
{
}

TimedMessage& TimedMessage::operator=( const TimedMessage& other)
{	
	m_iShowTimeSeconds = other.m_iShowTimeSeconds;
	m_poTextNode = other.m_poTextNode;
	return *this;
}

void TimedMessage::removeTextFromScene( void )
{
	if( m_poTextNode )
	{
		m_poTextNode->remove();
		m_poTextNode = 0;
	}
}


